package com.qf.entity;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-maven
 * @Package com.qf.entity
 * @Description:
 * @Date 2022/9/23 15:26
 */
@SuppressWarnings("all")
public class Emp {

    private int empId;
    private String name;
    private int age;
    private String sex;
    private int salary;
    private int dId;

    public Emp() {
    }

    public Emp(int empId, String name, int age, String sex, int salary, int dId) {
        this.empId = empId;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.salary = salary;
        this.dId = dId;
    }

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public int getdId() {
        return dId;
    }

    public void setdId(int dId) {
        this.dId = dId;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", salary=" + salary +
                ", dId=" + dId +
                '}';
    }
}
